package campus.mapper;

import campus.model.Proof;
import campus.model.ProofExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProofMapper {
    long countByExample(ProofExample example);

    int deleteByExample(ProofExample example);

    int deleteByPrimaryKey(Integer pId);

    int insert(Proof record);

    int insertSelective(Proof record);

    List<Proof> selectByExample(ProofExample example);

    Proof selectByPrimaryKey(Integer pId);

    int updateByExampleSelective(@Param("record") Proof record, @Param("example") ProofExample example);

    int updateByExample(@Param("record") Proof record, @Param("example") ProofExample example);

    int updateByPrimaryKeySelective(Proof record);

    int updateByPrimaryKey(Proof record);
    void updatepDefaultAll();
}